package com.jk;


import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.*;
import org.springframework.boot.autoconfigure.*;
import org.springframework.context.annotation.ImportResource;


/**
 * Created by 动物的 on 2017/12/18.
 */
@SpringBootApplication
@ImportResource("classpath:spring-dubbo-provider.xml")
@MapperScan("com.jk.mapper")
//导入spring的配置文件 相当为web.xml中的spring监听功能
public class MyBoot {
   /* @RequestMapping("/home")
    @ResponseBody
    String home() {
        return "Hello world";
    }*/
    public static void main(String[] args) {
        SpringApplication.run(MyBoot.class, args);
    }
}
